package ru.myrtle.jst.ast;

public class Invoke extends Element {

    private final String file;
    private final String parameters;

    public Invoke(Unit unit, int line, int column, String file, String parameters) {
        super(
                unit, line, column
        );
        this.file = file;
        this.parameters = parameters;
    }

    public String getFile() {
        return file;
    }
    
    public String getParameters() {
        return parameters;
    }

    @Override
    public <ContextType> void accept(Visitor<ContextType> visitor, ContextType context) {
        visitor.visit(this, context);
    }
}
